import React from 'react';

import { Icon } from './base';

/**
 * 茶酒
 *
 * @export
 * @class IconTea
 * @extends {Icon}
 */
export default class IconTea extends Icon {
    static defaultProps = {
        ...Icon.defaultProps,
        color: '#424242',
    };

    render() {
        const { color, className, style } = this.props;

        const { width, height } = this.getSize();

        return (
            <svg viewBox="0 0 1024 1024" width={width} height={height} style={style} className={className}>
                <path
                    d="M768 344.213333c0 140.586667-72.789333 256.725333-211.157333 277.738667v184.789333c0 13.44 11.2 24.341333 25.024 24.341334h137.322666c22.933333 0.021333 41.514667 18.133333 41.536 40.426666 0 22.357333-18.56 40.469333-41.536 40.490667H304.789333c-22.016-0.618667-39.722667-17.856-40.362666-39.296-0.661333-22.336 17.408-40.96 40.362666-41.6h137.365334c13.802667 0 25.002667-10.944 25.002666-24.341333v-184.810667C328.810667 600.96 256 484.778667 256 344.256V141.696c0-16.384 13.653333-29.696 30.506667-29.696h450.986666c16.832 0 30.506667 13.312 30.506667 29.696v202.517333z m-115.797333-41.258666v61.12c0 26.752 0.533333 49.728-14.336 63.509333a27.392 27.392 0 0 0-1.194667 39.146667c10.666667 11.136 28.458667 11.669333 39.765333 1.173333 26.816-24.853333 32.042667-62.549333 32.042667-103.829333v-61.12c0-15.296-12.586667-27.690667-28.16-27.690667-15.530667 0-28.117333 12.394667-28.117333 27.690667z m-60.949334 238.592c17.28 0 31.274667-13.781333 31.274667-30.784 0-16.981333-13.994667-30.762667-31.274667-30.762667-17.258667 0-31.253333 13.781333-31.253333 30.762667 0 17.002667 13.994667 30.784 31.253333 30.784z"
                    fill={color}
                ></path>
            </svg>
        );
    }
}
